package com.nbsaas.boot.data.ext.apis;

import com.nbsaas.boot.data.ext.domain.request.SqlHandleRequest;
import com.nbsaas.boot.rest.response.ListResponse;
import com.nbsaas.boot.rest.response.MapResponse;
import com.nbsaas.boot.rest.response.PageResponse;
import com.nbsaas.boot.rest.response.ResponseObject;

public interface SqlHandleApi {


    PageResponse<MapResponse> search(SqlHandleRequest request);


    ListResponse<MapResponse> list(SqlHandleRequest request);


    ResponseObject<Integer> executeSql(SqlHandleRequest request);


    ResponseObject<MapResponse> selectOne(SqlHandleRequest request);
}
